//
//  MYCover.h
//  奇闻
//
//  Created by 似水灵修 on 14-11-22.
//  Copyright (c) 2014年 MingYueGuCheng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^MYCoverBlock)();
@interface MYCover : UIButton
//消失后的操作
@property (nonatomic, copy) MYCoverBlock operateBlock;
@property (nonatomic, assign, getter=isDimBackground) BOOL dimBackground;//是否有灰度
+ (instancetype)show;//显示遮盖
@end
